﻿using Core.Framework.Model.WebSockets;
using System;
using System.Collections.Generic;
using System.Text;

namespace Core.IBusiness.IPushModule.Model
{
    public class BroadcastProductModel : BaseBroadcastPush<BroadcastProductContent>
    {

    }

    /// <summary>
    /// 消息内容
    /// </summary>
    public class BroadcastProductContent
    {
        /// <summary>
        /// 消息类型
        /// </summary>
        public string Type
        {
            get
            {
                return "operate-product-broadcast";
            }
        }

        /// <summary>
        /// 产品信息
        /// </summary>
        public List<BroadcastProductItem> Products { get; set; }
    }

    /// <summary>
    /// 运营消息模板
    /// </summary>
    public class BroadcastProductItem
    {

        /// <summary>
        /// 标题
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Text { get; set; }

        /// <summary>
        /// 展示图片
        /// </summary>
        public string Img { get; set; }

        /// <summary>
        /// 运营标签
        /// </summary>
        public string Operate { get; set; }

        /// <summary>
        /// 价格信息
        /// ：89.8元
        /// </summary>
        public string Price { get; set; }

    }



}
